home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 2
/
Geek_Gadgets_2_2352.bin
/
lists
/
ade-gcc.archive.9602.gz
/
ade-gcc.archive.9602
/
000083_owner-ade-gcc_Fri Feb 16 03:22:05 1996.msg
< prev
next >
Wrap
Internet Message Format
|
1996-02-28
|
2KB
Return-Path: <owner-ade-gcc>
Received: by fishpond (Smail3.1.29.1 #57)
id m0tnLQX-000gXaa; Fri, 16 Feb 96 03:22 EST
Sender: owner-ade-gcc
Received: from ernie.icslab.agh.edu.pl by fishpond with smtp
(Smail3.1.29.1 #57) id m0tnLPq-000gXUC; Fri, 16 Feb 96 03:21 EST
Received: (from kiskra@localhost) by ernie.icslab.agh.edu.pl (8.6.12/8.6.12) id JAA19723; Fri, 16 Feb 1996 09:20:49 +0100
Date: Fri, 16 Feb 1996 09:20:48 +0100 (MET)
From: Kamil Iskra <kiskra@ernie.icslab.agh.edu.pl>
To: ADE GCC List <ade-gcc@ninemoons.com>
cc: Amiga GCC List <amiga-gcc-port@nic.funet.fi>,
fleischr@IZFM.Uni-Stuttgart.DE
Subject: Passing arguments in registers and stack checking/extension
Message-ID: <Pine.SUN.3.91.960216091707.19476A-100000@ernie>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ade-gcc@ninemoons.com
Precedence: bulk
*Note: Sorry if this is a repost. Pine hanged when I was sending this mail
for the first time and I don't know if it hanged before or after the mail
was sent*
I found a big problem with passing arguments in registers and using stack
checking or extension simultaneously.
Stack checking/extension code changes values of d0/d1/a0/a1, while these
registers are used to pass arguments when using "-mregparm".
Matthias, would it be hard to redesign stack checking/extension in such a
way that it preserved these registers?
If yes, I guess stack checking/extension code just wouldn't be generated
for regargs functions... This would unfortunately make "-mregparm"
unusable for stack-hungry programs, ie. most GNU tools.
/ Kamil Iskra - AMIGA 1200, 68030 50MHz, HDD 850 MB, 10 MB RAM \
| iskra@student.uci.agh.edu.pl kiskra@ernie.icslab.agh.edu.pl |
| http://student.uci.agh.edu.pl/~iskra |
\ PGP public key available via Finger or WWW /